package com.bluemobi.framework.pay.wechat.common;

/**
 * 微信支付支付常量
 *
 * @author zhangyong
 * @version 1.0
 * @Date 2016-4-25 17:08
 */
public class Configure {
    //统一支付接口地址
    public final static String UNIFIEDORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    //关闭订单接口地址
    public final static String CLOSEORDER_URL = "https://api.mch.weixin.qq.com/pay/closeorder";
    //退款API
    public final static String REFUNDORDER_URL="https://api.mch.weixin.qq.com/secapi/pay/refund";
    //被扫支付API
    public final static String NATIVEORDER_URL = "https://api.mch.weixin.qq.com/pay/micropay";
    //被扫支付查询API
    public final static String NATIVEQUERY_URL = "https://api.mch.weixin.qq.com/pay/orderquery";
    //退款查询API
    public final static String REFUNDQUERY_URL = "https://api.mch.weixin.qq.com/pay/refundquery";
    //撤销API
    public final static String REVERSEORDER_URL = "https://api.mch.weixin.qq.com/secapi/pay/reverse";
    //下载对账单API
    public final static String DOWNLOAD_BILL_URL = "https://api.mch.weixin.qq.com/pay/downloadbill";
    //统计上报API
    public final static String REPORT_URL = "https://api.mch.weixin.qq.com/payitil/report";
    //请求返回信息成功
    public final static String RETURN_CODE_SUCCESS = "SUCCESS";
    //请求返回信息成功
    public final static String RESULT_CODE_SUCCESS = "SUCCESS";
    //接口编码集
    public static final String ENCODING="UTF-8";

    public static final String SIGN_TYPE = "MD5";// 签名方式
    //微信分配的公众号ID（开通公众号之后可以获取到）
  public final static String APPID="wxc757c3c4bfc14b41";
//  public final static String APPID="111";

    //设置的支付key
  public final static String APIKEY="J7pAFPYVm20InJc91UPrfkQKwtfyGugN";
//  public final static String APIKEY="fffff";
    //微信支付分配的商户号ID（开通公众号的微信支付功能之后可以获取到）
//  public final static String MCH_ID="ddd";
  public final static String MCH_ID="1499321052";
    //HTTPS证书的本地路径
    private static String certLocalPath = "";
    //HTTPS证书密码，默认密码等于商户号MCHID
    private static String certPassword = "123123";


    /**公众号信息*/
    //开发者ID(公众号开发AppID)
    public final static String WECHAT_APPID="ssss";
    //开发者密码(AppSecret)
    public final static String APP_SECRET="sss";
    //公众号商户号
    public final static String WECHAT_MCH_ID="ss";

    public static String getCertLocalPath() {
        return certLocalPath;
    }

    public static void setCertLocalPath(String certLocalPath) {
        Configure.certLocalPath = certLocalPath;
    }

    public static String getCertPassword() {
        return certPassword;
    }

    public static void setCertPassword(String certPassword) {
        Configure.certPassword = certPassword;
    }
}
